# $Id: PKGBUILD 66014 2012-02-22 14:24:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-net-ipv6addr
pkgver=0.2
pkgrel=6
pkgdesc="Perl/CPAN Module Net::IPv6Addr"
arch=("any")
url="http://search.cpan.org/dist/Net-IPv6Addr"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/T/TM/TMONROE/Net-IPv6Addr-0.2.tar.gz")
md5sums=('cd06f0422ddb3ac119e2ef1e27aa9339')

build() {
  cd $srcdir/Net-IPv6Addr-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
